package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 球员信息对象 sys_nba_player
 * 
 * @author yqg
 * @date 2023-11-02
 */
public class SysNbaPlayer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 球员ID */
    private Integer playerId;

    /** 球员 */
    @Excel(name = "球员")
    private String players;

    /** 球员英文 */
    @Excel(name = "球员英文")
    private String playerName;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date born;

    /** 身高 */
    @Excel(name = "身高")
    private Long height;

    /** 体重 */
    @Excel(name = "体重")
    private Long weight;

    /** 国际 */
    @Excel(name = "国际")
    private String nationality;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 选秀 */
    @Excel(name = "选秀")
    private String draft;

    /** 荣誉 */
    @Excel(name = "荣誉")
    private String honor;

    /** 球队 */
    private Integer teamId;

    /** 球队名称 */
    @Excel(name = "球队名称")
    private String teamNameCn;

    public void setPlayerId(Integer playerId) 
    {
        this.playerId = playerId;
    }

    public Integer getPlayerId() 
    {
        return playerId;
    }
    public void setPlayers(String players) 
    {
        this.players = players;
    }

    public String getPlayers() 
    {
        return players;
    }
    public void setPlayerName(String playerName) 
    {
        this.playerName = playerName;
    }

    public String getPlayerName() 
    {
        return playerName;
    }
    public void setBorn(Date born) 
    {
        this.born = born;
    }

    public Date getBorn() 
    {
        return born;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setNationality(String nationality) 
    {
        this.nationality = nationality;
    }

    public String getNationality() 
    {
        return nationality;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setDraft(String draft) 
    {
        this.draft = draft;
    }

    public String getDraft() 
    {
        return draft;
    }
    public void setHonor(String honor) 
    {
        this.honor = honor;
    }

    public String getHonor() 
    {
        return honor;
    }
    public void setTeamId(Integer teamId) 
    {
        this.teamId = teamId;
    }

    public Integer getTeamId() 
    {
        return teamId;
    }
    public void setTeamNameCn(String teamNameCn) 
    {
        this.teamNameCn = teamNameCn;
    }

    public String getTeamNameCn() 
    {
        return teamNameCn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("playerId", getPlayerId())
            .append("players", getPlayers())
            .append("playerName", getPlayerName())
            .append("born", getBorn())
            .append("height", getHeight())
            .append("weight", getWeight())
            .append("nationality", getNationality())
            .append("position", getPosition())
            .append("draft", getDraft())
            .append("honor", getHonor())
            .append("teamId", getTeamId())
            .append("teamNameCn", getTeamNameCn())
            .toString();
    }
}
